package com.torry.edss.domain.model;

import com.torry.boot.starter.mybatisplus.base.Model;
import com.torry.edss.domain.valueobject.Bourse;
import com.torry.edss.domain.valueobject.MarketPlate;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;

/**
 * @author Administrator
 */
@Data
public class Company extends Model {

    private String name;
    private String code;
    @ApiModelProperty(value = "SH SZ BJ")
    private Bourse bourse;

    @ApiModelProperty(value = "1 沪深主板 2创业板 3科创板 4北交所")
    private MarketPlate plate;

    private String acronym;

    @ApiModelProperty(value = "上市日期")
    private LocalDate ldate;

    @ApiModelProperty(value = "市值 元")
    private Double marketValue;

    private Boolean delisted;
}
